﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Swimj.ApplicationLib.Entities;

namespace DataServer.ApplicationLib.Entities
{
    [Table("DS_DATABASE")]
    public class DataBaseEntity : AuditableEntity
    {
        [Key]
        public Guid Id { get; set; }

        public string? DatabaseName { get; set; }

        public string? DriverName { get; set; }

        public string? UserName { get; set; }

        public string? Password { get; set; }

        public string? HostUri { get; set; }

        public string? Port { get; set; }

        public string? Charset { get; set; }

        public string? Description { get; set; }

        public int Sort { get; set; }
    }
}
